<?php 
include("admin/sesiune.php");
$username = $_SESSION["username"];
$id = $_POST['ID'];
$pret = $_POST['pret'];
$numeProd = $_POST['numeProd'];
$queryIns = "INSERT INTO cos SET username = '$username', ID = '$id'";
$addCos = mysql_query($queryIns,getConnection()) or die (mysql_error());
?>